package com.open.capacity.reimburse.dao;

import com.open.capacity.reimburse.entity.BillApprovalCostPayitem;
import com.open.capacity.reimburse.entity.BillDirectPayitem;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;
/**
 * 直接报销单-支出事项
 * 
 * @author 
 * @email 
 * @date 2023-12-21 15:20:30
 */
@Mapper
public interface BillApprovalCostPayitemDao  {

    int save(BillApprovalCostPayitem billApprovalCostPayitem);

    int update(BillApprovalCostPayitem billApprovalCostPayitem);

    int deleteByBillId(String billId);

    int delete(String id);

    BillApprovalCostPayitem findById(String id);

    List<BillApprovalCostPayitem> findByBillId(String billId);

    List<BillApprovalCostPayitem> findAll(Map<String, Object> params);

}
